package cn.edu.seu.ssny.dao;

import cn.edu.seu.ssny.dao.support.IBaseDao;
import cn.edu.seu.ssny.entity.Project;
import cn.edu.seu.ssny.entity.StatisticsPowercostRateType;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IStatisticsPowercostRateTypeDao extends IBaseDao<StatisticsPowercostRateType, Integer> {
    StatisticsPowercostRateType findStatisticsPowercostRateTypeByProjectAndName(Project project, String name);

    List<StatisticsPowercostRateType> findStatisticsPowercostRateTypeByProjectOrderByName(Project project);
}
